//
//  UIView+Expand.m
//  CJRailTransport
//
//  Created by Hank on 2018/1/19.
//  Copyright © 2018年 amplity. All rights reserved.
//

#import "UIView+Expand.h"

@implementation UIView (Expand)

// 设置圆角
- (void)radiusView:(CGFloat)radius backgroundColor:(UIColor *)backgroundColor borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor
{
    // 设置圆角
    self.layer.cornerRadius = radius;
    self.layer.backgroundColor = backgroundColor.CGColor;
    self.layer.borderWidth = borderWidth;
    self.layer.borderColor = borderColor.CGColor;
}

@end
